package singlelinkedlist;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 黎鹤舞
 * Date: 2023-12-19
 * Time: 12:23
 */

//该类是负责处理 链表上结点的存储位置和数据信息
class ListNode {

    //数据域:
    public int val;

    //指针域:
    public ListNode next = null;

    public ListNode(int val) {
        this.val = val;
    }

}
